package com.anlu.pattern.create.factory.fatoryMethod;

import com.anlu.pattern.common.entity.Bag;
import com.anlu.pattern.common.entity.bag.AppleBag;

/**
 * @author anlu
 * @create 2019/11/22
 **/

public class AppleBagFactory implements BagFactory {

    @Override
    public Bag getBag() {
        return new AppleBag();
    }
}
